home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0292.ZIP
/
CUBS.ARC
/
CUBS.PRG
< prev
next >
Wrap
Text File
|
1985-12-21
|
768b
|
31 lines
*CUBS.PRG
CLEAR
@ 12,30 SAY ' Loading Cubs Program '
SET TALK OFF
SET PROCEDURE TO MAIN
SELECT 1
USE CUBS INDEX CUBS
SELECT 2
USE CUBLDR INDEX CUBLDR
CLEAR
@ 6,12 SAY ' WELCOME TO CUB SCOUT PACK 240 PERSONNEL SYSTEM'
?
?
?
? ' Please be patient while I update the records for you.'
? ' Some of the Cub Scouts have had birthdays since you last ran this program.'
? ' I have to check their age.'
SELECT 1
GO TOP
DO WHILE .NOT. EOF()
@ 18,21 SAY 'Checking Record Number: '+STR(RECNO())
STORE DATE() - DOB TO DAYS
SET DECIMALS TO 1
STORE DAYS / 367.3 TO MAGE
SET SAFETY OFF
REPLACE AGE WITH MAGE
SKIP
ENDDO
DO MENU